package com.example.leo.mycharmingstudent.a0916;

/**
 * Created by Leo on 2020/9/16.
 */

public class HeroEntity {

    private int imageResource;
    private String name;
    private String introduce;
    /**
     * type=0 显示详情条目
     * type=1 显示图片条目
     */
    private int type = 0;

    public HeroEntity(int imageResource, String name, String introduce) {
        this.imageResource = imageResource;
        this.name = name;
        this.introduce = introduce;
    }

    public int getImageResource() {
        return imageResource;
    }

    public void setImageResource(int imageResource) {
        this.imageResource = imageResource;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
